/**
 * Created by JetBrains WebStorm.
 * User: liucw
 * Date: 13-2-20
 * Time: 下午8:01
 * To change this template use File | Settings | File Templates.
 */
var querystring = require('querystring');
var fs = require('fs');

function start(response,request){
    fs.readFile(__dirname + '/index.html',function(err,data){
            if(err){
                response.writeHead(500);
                response.end('read file /index.html error!');
            }
            response.writeHead(200);
            response.end(data);
        }
    );
};
exports.start = start;
